﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000963 RID: 2403
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class IIJDDMKBAOF : IMessage<IIJDDMKBAOF>, IMessage, IEquatable<IIJDDMKBAOF>, IDeepCloneable<IIJDDMKBAOF>, IBufferMessage
	{
		// Token: 0x17001E74 RID: 7796
		// (get) Token: 0x06006BD8 RID: 27608 RVA: 0x001217A4 File Offset: 0x0011F9A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<IIJDDMKBAOF> Parser
		{
			get
			{
				return IIJDDMKBAOF._parser;
			}
		}

		// Token: 0x17001E75 RID: 7797
		// (get) Token: 0x06006BD9 RID: 27609 RVA: 0x001217AB File Offset: 0x0011F9AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return IIJDDMKBAOFReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001E76 RID: 7798
		// (get) Token: 0x06006BDA RID: 27610 RVA: 0x001217BD File Offset: 0x0011F9BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return IIJDDMKBAOF.Descriptor;
			}
		}

		// Token: 0x06006BDB RID: 27611 RVA: 0x001217C4 File Offset: 0x0011F9C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IIJDDMKBAOF()
		{
		}

		// Token: 0x06006BDC RID: 27612 RVA: 0x001217CC File Offset: 0x0011F9CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IIJDDMKBAOF(IIJDDMKBAOF other) : this()
		{
			this.mAGOKFGCJIE_ = other.mAGOKFGCJIE_;
			this.progress_ = other.progress_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006BDD RID: 27613 RVA: 0x001217FD File Offset: 0x0011F9FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IIJDDMKBAOF Clone()
		{
			return new IIJDDMKBAOF(this);
		}

		// Token: 0x17001E77 RID: 7799
		// (get) Token: 0x06006BDE RID: 27614 RVA: 0x00121805 File Offset: 0x0011FA05
		// (set) Token: 0x06006BDF RID: 27615 RVA: 0x0012180D File Offset: 0x0011FA0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MAGOKFGCJIE
		{
			get
			{
				return this.mAGOKFGCJIE_;
			}
			set
			{
				this.mAGOKFGCJIE_ = value;
			}
		}

		// Token: 0x17001E78 RID: 7800
		// (get) Token: 0x06006BE0 RID: 27616 RVA: 0x00121816 File Offset: 0x0011FA16
		// (set) Token: 0x06006BE1 RID: 27617 RVA: 0x0012181E File Offset: 0x0011FA1E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Progress
		{
			get
			{
				return this.progress_;
			}
			set
			{
				this.progress_ = value;
			}
		}

		// Token: 0x06006BE2 RID: 27618 RVA: 0x00121827 File Offset: 0x0011FA27
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as IIJDDMKBAOF);
		}

		// Token: 0x06006BE3 RID: 27619 RVA: 0x00121835 File Offset: 0x0011FA35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(IIJDDMKBAOF other)
		{
			return other != null && (other == this || (this.MAGOKFGCJIE == other.MAGOKFGCJIE && this.Progress == other.Progress && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006BE4 RID: 27620 RVA: 0x00121874 File Offset: 0x0011FA74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MAGOKFGCJIE != 0U)
			{
				num ^= this.MAGOKFGCJIE.GetHashCode();
			}
			if (this.Progress != 0U)
			{
				num ^= this.Progress.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006BE5 RID: 27621 RVA: 0x001218CC File Offset: 0x0011FACC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006BE6 RID: 27622 RVA: 0x001218D4 File Offset: 0x0011FAD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006BE7 RID: 27623 RVA: 0x001218E0 File Offset: 0x0011FAE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Progress != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Progress);
			}
			if (this.MAGOKFGCJIE != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.MAGOKFGCJIE);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006BE8 RID: 27624 RVA: 0x00121938 File Offset: 0x0011FB38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MAGOKFGCJIE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MAGOKFGCJIE);
			}
			if (this.Progress != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Progress);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006BE9 RID: 27625 RVA: 0x00121990 File Offset: 0x0011FB90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(IIJDDMKBAOF other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MAGOKFGCJIE != 0U)
			{
				this.MAGOKFGCJIE = other.MAGOKFGCJIE;
			}
			if (other.Progress != 0U)
			{
				this.Progress = other.Progress;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006BEA RID: 27626 RVA: 0x001219E0 File Offset: 0x0011FBE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006BEB RID: 27627 RVA: 0x001219EC File Offset: 0x0011FBEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.MAGOKFGCJIE = input.ReadUInt32();
					}
				}
				else
				{
					this.Progress = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400292C RID: 10540
		private static readonly MessageParser<IIJDDMKBAOF> _parser = new MessageParser<IIJDDMKBAOF>(() => new IIJDDMKBAOF());

		// Token: 0x0400292D RID: 10541
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400292E RID: 10542
		public const int MAGOKFGCJIEFieldNumber = 11;

		// Token: 0x0400292F RID: 10543
		private uint mAGOKFGCJIE_;

		// Token: 0x04002930 RID: 10544
		public const int ProgressFieldNumber = 1;

		// Token: 0x04002931 RID: 10545
		private uint progress_;
	}
}
